package cate.common.table.farm.dailyfb;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "副本类型")
public class DailyFbTypeRow extends ERow {
    @NoteField(value = "副本是否开启")
    public int open;
    @NoteField(value = "等级要求")
    public int levelRequire;
    @NoteField(value = "天数")
    public int dayRequire;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID");
        this.open = xrw.getInteger("是否开启",0);
        this.levelRequire = xrw.getInteger("开启等级",10);
        this.dayRequire = xrw.getInteger("天数",0);
    }
}
